package com.ygqh.baby.po;

import com.ygqh.baby.ao.AppType;
import com.ygqh.baby.ao.CodeType;
import com.ygqh.baby.ao.DataStatus;
import com.ygqh.baby.ao.PayType;

import java.math.BigDecimal;
import java.util.Date;

public class YgRechargeMemberRecord {
	private Long id;

	private Long paymentCode;

	private String transactionId;

	private Long userId;

	private String memberType;

	private BigDecimal memberPrice;

	private BigDecimal paidPrice;

	private Date paidTime;

	private PayType payType;
	
	private AppType appType;

	private DataStatus status;

	private String remark;

	private Date createTime;

	private Date refundTime;

	private String refundBy;

    private CodeType rechargeRecordType;

    private String platformNo;

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Long getPaymentCode() {
		return paymentCode;
	}

	public void setPaymentCode(Long paymentCode) {
		this.paymentCode = paymentCode;
	}

	public String getTransactionId() {
		return transactionId;
	}

	public void setTransactionId(String transactionId) {
		this.transactionId = transactionId == null ? null : transactionId.trim();
	}

	public Long getUserId() {
		return userId;
	}

	public void setUserId(Long userId) {
		this.userId = userId;
	}

	public String getMemberType() {
		return memberType;
	}

	public void setMemberType(String memberType) {
		this.memberType = memberType == null ? null : memberType.trim();
	}

	public BigDecimal getMemberPrice() {
		return memberPrice;
	}

	public void setMemberPrice(BigDecimal memberPrice) {
		this.memberPrice = memberPrice;
	}

	public BigDecimal getPaidPrice() {
		return paidPrice;
	}

	public void setPaidPrice(BigDecimal paidPrice) {
		this.paidPrice = paidPrice;
	}

	public Date getPaidTime() {
		return paidTime;
	}

	public void setPaidTime(Date paidTime) {
		this.paidTime = paidTime;
	}

	public PayType getPayType() {
		return payType;
	}

	public void setPayType(PayType payType) {
		this.payType = payType;
	}

	public AppType getAppType() {
		return appType;
	}

	public void setAppType(AppType appType) {
		this.appType = appType;
	}

	public DataStatus getStatus() {
		return status;
	}

	public void setStatus(DataStatus status) {
		this.status = status;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark == null ? null : remark.trim();
	}

	public Date getRefundTime() {
		return refundTime;
	}

	public void setRefundTime(Date refundTime) {
		this.refundTime = refundTime;
	}

	public String getRefundBy() {
		return refundBy;
	}

	public void setRefundBy(String refundBy) {
		this.refundBy = refundBy;
	}

	public String getPayTypeDesc() {
		return payType == null ? null : payType.getTitle();
	}

    public CodeType getRechargeRecordType() {
        return rechargeRecordType;
    }

    public void setRechargeRecordType(CodeType rechargeRecordType) {
        this.rechargeRecordType = rechargeRecordType;
    }

    public String getRechargeRecordTypeDesc() {
	    return rechargeRecordType == null ? null : rechargeRecordType.getTitle();
    }

    public String getPlatformNo() {
        return platformNo;
    }

    public void setPlatformNo(String platformNo) {
        this.platformNo = platformNo;
    }
}